package cn.appsys.service.developer;

import java.util.List;
import java.util.Map;

import cn.appsys.pojo.DataDictionary;

public interface DataDictionaryService {
	
	/**
	 * 根据typeCode查询相应的数据字典列表
	 * @param typeCode
	 * @return
	 * @throws Exception
	 */
	public List<DataDictionary> getDataDictionaryList(String typeCode)throws Exception;


	public List<DataDictionary> queryDataDictionary(Map<String,Object> map);

	public int queryDataDictionaryCount(Map<String,Object> map);

	public List<DataDictionary> queryDataDictionaryTypeNameForDistinct();

	public List<DataDictionary> queryDataDictionaryByTypeName(String typeName);

	public int saveCreateDataDictionary(DataDictionary dataDictionary);

	public int deleteDataDictionaryById(int id);

	public int editDataDictionarById(DataDictionary dataDictionary);

	public DataDictionary queryDataDictionaryById(int id);
}
